package com.ruoyi.report.mapper;

import com.ruoyi.report.domain.HanZaiEmail;
import com.ruoyi.report.domain.HanZaiEmailUserName;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: 憨憨爱崽崽
 * Name: HanZaiEmailMapper
 * Date: 2022/3/29
 * Time: 12:53
 **/
public interface HanZaiEmailMapper {
    //查询邮件
    List<HanZaiEmail> selectEmailList(HanZaiEmail email);
    //根据ID查找用户名称
    String selectUserName(Integer userId);
    //查询所有用户名
    List<HanZaiEmailUserName> selectUserNameList(Integer userId);

    int saveEmail(HanZaiEmail email);
    int deleteEmail(Integer emailId);
    int updateEmail(HanZaiEmail email);
}
